﻿using System;
using System.Collections.Generic;

namespace QuickStart
{
	public interface ICustomerRepository : IRepository<Customer>
	{
		/// <summary>
		/// Finds a customer by flexibly matching either first or last name.
		/// </summary>
		IEnumerable<Customer> FindByName(string criteria);
	}
}
